# -*- coding: utf-8 -*-
# Author: jurrabi <jurrabi@gmail.com>
# URL: http://code.google.com/p/mytvalacarta//
#
# This file is part of myTValacarta.
#
# myTValacarta is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# myTValacarta is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
# 
# You should have received a copy of the GNU General Public License
# along with myTValacarta.  If not, see <http://www.gnu.org/licenses/>.
"""
    This plugin helps you follow your favorite TV Shows. Some main features:
        * Manage your favorite shows
        * Gets Shows info from theTVDB.org
        * Lists aired and future episodes
        * Allows direct episode streaming (if available)
        * Allows batch download (if available)
        * Integration with XBMC Library via virtual (strm files) episodes that call the plugin
        
"""

# main imports
import sys

from tools import logger

# plugin constants
__plugin__  = "myTValacarta"
__author__  = "jurrabi"
__url__     = "http://code.google.com/p/mytvalacarta/"
__svn_url__ = "http://mytvalacarta.googlecode.com/svn/trunk/"
__credits__ = "Team XBMC"
__date__    = "January 31 2011"
__version__ = "0.1.0"


def main():
    '''Import and Launch main_module'''
    import mytvalacarta
    mytvalacarta.Start()


if ( __name__ == "__main__" ):
    logger.info('[myTValacarta]Start')
    logger.debug('[myTValacarta]Init: Arguments: %s' % sys.argv) 

    main()
    sys.modules.clear()
